package org.powernode.proxy.sevice;

public class OrderServiceImpl implements OrderService {
    @Override
    public void generate() {
        try {
            Thread.sleep(1234);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("正在生成订单");
    }

    @Override
    public void modify() {
        try {
            Thread.sleep(123);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("正在修改订单");
    }

    @Override
    public void detail() {
        try {
            Thread.sleep(734);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("查询订单详情");
    }
}
